<?php

namespace app\common\model;

use think\Model;

class Exam extends Model
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'think_exam';
    
    // 设置主键
    protected $pk = 'id';
    
    // 设置字段信息
    protected $schema = [
        'id'          => 'int',
        'name'        => 'string',
        'count'       => 'int',
        'sort'        => 'int',
        'status'      => 'int',
        'create_time' => 'int',
        'update_time' => 'int',
    ];
}